<?php
('Access-Control-Allow-Origin：*');
include("../config/mysql.php");
$student_id = $_GET["student_id"];
$money = $_GET["money"];
$db = new mysql();
$sql = "UPDATE students SET ispay = '1',money = '{$money}' WHERE id = {$student_id}";
echo $db->Query($sql);
$db->close();